<!--
 * @Author: Hanky-D 946941094@qq.com
 * @Date: 2022-06-08 22:14:05
 * @LastEditors: Hanky-D 946941094@qq.com
 * @LastEditTime: 2022-06-10 00:16:43
 * @FilePath: \mall-merchant-front\src\App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div>
    <el-container>
	<el-aside width="200px">
          <!-- 侧边栏 -->
          <SideBar></SideBar>
        </el-aside>
      <el-container>
        <!-- header -->
        <el-header  :height="100">
          <Header></Header>
        </el-header>
        <el-main>
          <!-- 路由组件 -->
          <router-view> </router-view>
        </el-main>

      </el-container>
	  
    </el-container>
  </div>
</template>


<script>
import SideBar from "./components/My-SideBar.vue";
import Header from "./components/My-Header.vue";

export default {
  name: "App",
  components: {
    SideBar,
    Header,
  },
};
</script>

<style scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
::v-deep .el-header{
	padding: 0px;
}
</style>
